<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>inweo.widgets.button test</title>
		<script src="../lib/mootools.js"></script>
		<script src="../inweo.js"></script>
		<script type="text/javascript">
			function main() {
				inweo.require("box");
				inweo.require("button");
				//inweo.skin("Aero");

				var page = new inweo.widgets.vbox(this);
				page.space(10);
				page.widget.setStyle("width", "230px");

				var button = new inweo.widgets.button();
				button.text("I am a button");
				page.pack(button);

				var buttonDisbaled = new inweo.widgets.button();
				buttonDisbaled.text("I am a disbaled button");
				buttonDisbaled.disable(true);
				page.pack(buttonDisbaled);

				var buttonPicture = new inweo.widgets.button();
				buttonPicture.text("I am a button with picture");
				buttonPicture.picture("InweoLogo.jpg");
				page.pack(buttonPicture);

				var buttonPictureDisbaled = new inweo.widgets.button();
				buttonPictureDisbaled.text("I am a disabled button with picture");
				buttonPictureDisbaled.picture("InweoLogo.jpg");
				buttonPictureDisbaled.disable(true);
				page.pack(buttonPictureDisbaled);

				var pushButton = new inweo.widgets.pushButton();
				pushButton.text("I am a pushButton");
				page.pack(pushButton);

				var toggleButton = new inweo.widgets.toggleButton();
				toggleButton.text("I am a toggleButton");
				page.pack(toggleButton);

				var checkboxButton = new inweo.widgets.checkboxButton();
				checkboxButton.text("I am a checkboxButton");
				page.pack(checkboxButton);

				var radioButton1 = new inweo.widgets.radioButton("radioGroup1");
				radioButton1.text("I am a radioButton 1");
				page.pack(radioButton1);

				var radioButton2 = new inweo.widgets.radioButton("radioGroup1");
				radioButton2.text("I am a radioButton 2");
				page.pack(radioButton2);
			}
		</script>
	</head>
	<body>
	</body>
</html>